package reverse

import "strconv"

func IntReverse(i int) int {
	// int反转, 先将int转换为字符串,然后对字符串反转,然后在转换为int
	i, _ = strconv.Atoi(StrReverse(strconv.Itoa(i)))
	return i
}
